package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 准备金记录表-任务
 * </p>
 *
 * @author Generator
 * @since 2024-12-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_reserve_task")
@ApiModel(value = "CgnciClaimReserveTaskDO对象", description = "准备金记录表-任务")
public class CgnciClaimReserveTaskDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("准备金ID")
    @TableId(value = "reserve_id", type = IdType.AUTO)
    private Long reserveId;

    @ApiModelProperty("任务号")
    private String taskNo;

    @ApiModelProperty("案件ID")
    private Long caseId;

    @ApiModelProperty("案件号")
    private String caseNo;

    @ApiModelProperty("保单号")
    private String policyNo;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("汇率约定方式(按数值/按日期)")
    private String rateType;

    @ApiModelProperty("汇率日期")
    private Date rateDate;

    @ApiModelProperty("汇率")
    private BigDecimal rate;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("任务状态，0:录入中,1:审核中,2:退回录入中,3:已注销,4:已完成")
    private String taskStatus;

    @ApiModelProperty(value = "当次计提/调整金额是否超过100万美元,码表值:isYes")
    private String isExceed;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updater;


}
